<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script type="text/javascript">
        var path = window.document.location.href;
        var pathName = window.document.location.pathname;
        var hostPath = path.substring(0, path.indexOf(pathName));
        var projectName = pathName.substring(0, pathName.substr(1).indexOf("/") + 1);
        document.write('<scr' + 'ipt src="' + projectName + '/js/html/header.js"></scr'+'ipt>');
    </script>
</head>
<body>
	<table id="dg" style="width: auto; height: auto" fitColumns="true">
		<thead>
			<tr>
			<th field="id" data-options="hidden:true">ID</th>
			<th field="appNo" align="right" width="100" 
				data-options="
				sortable:true,
				remoteSort:false
				">系统编号</th>
			<th field="appName" align="right" width="100" 
				data-options="
				sortable:true,
				remoteSort:false
				">系统名称</th>
			<th field="appLevel" align="right" width="100" 
				data-options="
				sortable:true,
				remoteSort:false
				">APP_LEVEL</th>
			<th field="appManager" align="right" width="100" 
				data-options="
				sortable:true,
				remoteSort:false
				">系统负责人</th>
			<th field="department" align="right" width="100" 
				data-options="
				sortable:true,
				remoteSort:false
				">业务部门</th>
			</tr>
		</thead>
	</table>
	<div id="dg-buttons" style="height: auto">
		<div style="margin-bottom:5px">
			<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" 	onclick="dlgAdd()">新增</a>
			<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" 	onclick="dlgRemove()">删除</a>
			<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" 	onclick="dlgEdit()">修改</a>
		</div>
		<div>
			<span>&nbsp;&nbsp;&nbsp;&nbsp;选择:</span>
			<input type="text" id="searchKey" name="searchKey" class="easyui-combobox" />
			<span>等于:</span>
			<input type="text" id="searchValue" name="searchValue" class="easyui-validatebox" />
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" onclick="dgop.find()">查询</a>
		</div>
	</div>
<div id="dlg-buttons">
		<a href="javascript:dlgSave()" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
		<a href="javascript:dlgClose()" class="easyui-linkbutton" iconCls="icon-cancel">关闭</a>
	</div>
	<div id="dlg" class="easyui-dialog" closed="true" style="width: 730px; height: 380px; padding: 10px 10px;" buttons="#dlg-buttons">
		<form method="post" id="fm">
			<table cellspacing="8px;">
				<td><input id="id" name="id" style="display: none" required="true"></td>
			<tr>
				<td>系统编号</td>
				<td><input id="appNo" name="appNo" class="easyui-validatebox" 
					>&nbsp; 
					<span style="color: red">*</span>
				</td>
			</tr>
			<tr>
				<td>系统名称</td>
				<td><input id="appName" name="appName" class="easyui-validatebox" 
					>&nbsp; 
					<span style="color: red">*</span>
				</td>
			</tr>
			<tr>
				<td>APP_LEVEL</td>
				<td><input id="appLevel" name="appLevel" class="easyui-validatebox" 
					>&nbsp; 
					<span style="color: red">*</span>
				</td>
			</tr>
			<tr>
				<td>系统负责人</td>
				<td><input id="appManager" name="appManager" class="easyui-validatebox" 
					>&nbsp; 
					<span style="color: red">*</span>
				</td>
			</tr>
			<tr>
				<td>业务部门</td>
				<td><input id="department" name="department" class="easyui-validatebox" 
					>&nbsp; 
					<span style="color: red">*</span>
				</td>
			</tr>
			</table>
		</form>
	</div>
	<div id="dlg-Details" class="easyui-window" closed="true" style="width: 730px; height: 280px; padding: 10px 10px;"></div>
	<script>
		var initd = {
			queryDataURL : "/appinfo/appInfoQuery.do",
			saveDataURL : "/appinfo/appInfoSave.do",
			removeDataURL:"/appinfo/appInfoRemove.do",
			dg : $('#dg')
		};
	</script>
</body>
</html>

